package com.xiaogao.statistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 小高
 * @createtime 2021-07-10-17:00
 * @description
 */
@SpringBootApplication
@MapperScan("com.xiaogao.statistics.mapper")
@ComponentScan("com.xiaogao")
@EnableDiscoveryClient // 开启nacos服务
@EnableFeignClients // 开启feign服务发现
@EnableScheduling // 开启定时任务
public class StaApplication {
    public static void main(String[] args) {
        SpringApplication.run(StaApplication.class,args);
    }
}
